package com.yunxi.sys.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 地域信息
 * </p>
 *
 * @author 
 * @since 2019-05-07
 */
@Data
@ApiModel(value="Area对象", description="地域信息")
public class AreaVO implements Serializable {

    private String areaId;

    private String code;

    private String name;

    private String fullCode;

    private String fullName;

    private String pcode;

    private Date createTime;

    private Date updateTime;

    private Integer sortNo;

    private Integer isShow;

    private Integer isHot;

    private String countryCode;

    @ApiModelProperty(value = "级别")
    private String lv;

    @ApiModelProperty(value = "层级")
    private Integer rank;

    @ApiModelProperty(value = "类型 0行政区划 1归属地区 2管辖范围")
    private Integer type;

    private transient String hasChild;

    private List<AreaVO> areaVOList = new ArrayList<>();
}
